package com.rtx.edi.model.api.po;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 对接场景表
 * </p>
 *
 * @author cafebabe
 * @since 2023-03-18
 */
@Data
@TableName("pl_api_mapping")
@ApiModel(value = "PlApiMapping对象", description = "对接场景表")
public class PlApiMapping extends BaseEntity {

    private Long companyId;

    private Long applicationLinkId;
    private String applicationLinkName;

    private Long applicationLinkDtlId;
    private String applicationLinkDtlName;

    private String apiMappingName;

    private Long sourceApiId;

    private String sourceApiName;

    private Long targetApiId;

    private String targetApiName;

    private String remark;
    private String apiMappingCode;
    @ApiModelProperty("生效目标 table数据表 api接口报文")
    private String activeTarget;
    
    /**
     * [
     * 	"校验规则名称"
     * ]
     */
    @ApiModelProperty("更新数据生效规则")
    private String preUpdActive;
    
	@ApiModelProperty("外部请求url")
	private String externRequestUrl;
	@ApiModelProperty("外部请求报文")
	private String externRequestData;
	
    @ApiModelProperty("快递接口匹配出库单配置")
    private Long expresscondition;
    
    private String activegatway;
    
    /**
     * 客制化逻辑
     */
    @TableField(exist = false)
    private List<Long> ediCustomProcessList;
}

